package com.example.carmessage2.message;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;

import androidx.appcompat.app.AppCompatActivity;

import com.example.carmessage2.Carmessage;
import com.example.carmessage2.R;


public class BasecarActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_basecar);
        ImageView baseback=findViewById(R.id.baseback);
        baseback.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent=new Intent(BasecarActivity.this, Carmessage.class);
                startActivity(intent);
            }
        });

    }
}